﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.ModelForJD
{
    /// <summary>
    /// 批量获取库存（建议订单详情页、下单使用）
    /// </summary>
    public class InventoryForJD
    {
        /// <summary>
        /// 返回标识
        /// </summary>
        public bool success { get; set; }
        /// <summary>
        /// 返回描述
        /// </summary>
        public string resultMessage { get; set; }
        /// <summary>
        /// 返回编码
        /// </summary>
        public string resultCode { get; set; }
        public List<GetInventoryJD> result { get; set; }
    }
    public class GetInventoryJD
    {
        /// <summary>
        /// 配送地址id
        /// </summary>
        public string areaId { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string desc { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public string skuId { get; set; }
        /// <summary>
        /// 库存状态编号 33,39,40,36,34
        /// </summary>
        public string stockStateId { get; set; }
        /// <summary>
        /// 库存状态描述
        /// </summary>
        public string StockStateDesc { get; set; }
        /// <summary>
        /// 剩余数量 
        /// </summary>
        public string remainNum { get; set; }

    }
}
